package com.springboot.demo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description：
 * @Date： Created in 2021/12/24
 * @author： jianbin.lei
 * @Auto： <a href="mailto:493168771@qq.com">jianbin.lei</a>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(description="用户实体")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户编号",position = 1)
    private Long id;

    @ApiModelProperty(value = "用户姓名",position = 2)
    private String name;

    @ApiModelProperty(value = "用户年龄",position = 3)
    private Integer age;

    @ApiModelProperty(value = "联系电话",position = 4)
    private String telephone;

    @ApiModelProperty(value = "用户住址",position = 5)
    private String addr;

    @ApiModelProperty(value = "用户邮箱",position = 6)
    private String email;

    @ApiModelProperty(value = "用户明细",position = 7)
    private String desc;


}
